@import "../common/mixin.scss";
@import "../common/var.scss";
//商品页
.goods_details_choose {
    @include center-lr;
    .left {
        width: 400px;
        .left-show {
            @include imgwrap(400px, 515px);
            margin-bottom: 10px;
        }
        .left-choose {
            display: flex;
            .left-choose-img {
                width: 70px;
                height: 90px;
                cursor: pointer;
                border: 2px solid $border-white;
                margin-right: 8px;
                &:last-child {
                    margin-right: 0px;
                }
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }
            .left-choose-img_cur {
                border: 2px solid $border-red;
            }
        }
    }
    .right {
        width: 740px;
        &>h1 {
            font-size: 16px;
            line-height: 1;
            font-weight: normal;
            padding-top: 16px;
            padding-bottom: 13px;
            color: $fc-black;
        }
        h2 {
            width: 76px;
            text-indent: 15px;
            font-size: 12px;
            color: $fc-gray;
            line-height: 24px;
            font-weight: normal;
        }
        .right-title {
            background: $bg-red;
            height: 40px;
            display: flex;
            justify-content: space-between;
            .right-title-left {
                padding-left: 14px;
                padding-top: 6px;
                span {
                    color: $fc-white;
                    font-size: 12px;
                }
                font {
                    color: $fc-white;
                    font-size: 18px;
                }
                strong {
                    color: $fc-white;
                    font-size: 30px;
                    line-height: 1;
                }
            }
            .right-title-join {
                display: flex;
                font-size: 12px;
                color: $fc-white;
                padding-top: 12px;
                line-height: 16px;
                i {
                    margin-right: 6px;
                }
            }
            .right-title-state {
                display: flex;
                margin-right: 18px;
                h1 {
                    padding-top: 12px;
                    display: flex;
                    font-size: 14px;
                    color: $fc-white;
                    font-weight: normal;
                    line-height: 16px;
                    margin-right: 16px;
                    i {
                        margin-right: 10px;
                    }
                }
                p {
                    margin: 8px 2px 0 2px;
                    width: 24px;
                    height: 24px;
                    text-align: center;
                    line-height: 24px;
                    background: #ffc600;
                    border-radius: 4px;
                    font-size: 14px;
                    color: $fc-base;
                }
                span {
                    margin-top: 8px;
                    color: #ffffff;
                    font-weight: bold;
                    font-size: 14px;
                    line-height: 24px;
                    padding-left: 5px;
                    padding-right: 5px;
                }
            }
        }
        .right-con {
            position: relative;
            background: #f3f3f3;
            .right-con-row {
                display: flex;
                .right-con-row-left {
                    width: 76px;
                    text-indent: 15px;
                    font-size: 12px;
                    color: $fc-gray;
                    line-height: 24px;
                }
                // .right-con-row-right {}
            }
            .price {
                margin-bottom: 25px;
                h2 {
                    padding-top: 6px;
                }
                .right-con-row-right {
                    p {
                        font-size: 30px;
                        color: $fc-red;
                        span {
                            font-size: 18px;
                        }
                    }
                }
            }
            .discount {
                p {
                    margin-bottom: 20px;
                }
                button {
                    font-size: 12px;
                    color: $fc-red;
                    padding: 0 12px;
                    border: 1px solid $border-red;
                    line-height: 22px;
                    background: transparent;
                    margin-right: 10px;
                }
                span {
                    font-size: 12px;
                    color: $fc-title-gray;
                    line-height: 24px;
                }
                a {
                    font-size: 12px;
                    color: #005ea7;
                    margin-left: 8px;
                }
            }
            .right-con-sales {
                position: absolute;
                width: 100px;
                right: 0px;
                top: 20px;
                border-left: 1px dotted #ccc;
                h1 {
                    font-size: 12px;
                    color: $fc-title-gray;
                    text-align: center;
                    font-weight: normal;
                    padding-top: 18px;
                    padding-bottom: 20px;
                }
                p {
                    font-size: 12px;
                    color: #005ea7;
                    text-align: center;
                    padding-bottom: 18px;
                }
            }
        }
        .right-pei {
            display: flex;
            border-bottom: 1px dotted #ccc;
            h2 {
                line-height: 52px;
            }
            .right-pei-right {
                font-size: 12px;
                color: $fc-base;
                line-height: 52px;
                font {
                    margin: 0 6px;
                }
                font:nth-child(even) {
                    cursor: pointer;
                }
                i {
                    display: inline-block;
                    margin-left: 7px;
                    margin-right: 10px;
                }
            }
        }
        .right-color {
            padding-top: 20px;
            display: flex;
            margin-bottom: 10px;
            h2 {
                line-height: 42px;
            }
            .right-color-right {
                display: flex;
                flex-wrap: wrap;
                .right-color-right-img {
                    width: 64px;
                    height: 81px;
                    display: flex;
                    justify-content: center;
                    align-content: center;
                    margin-right: 8px;
                    cursor: pointer;
                    img {
                        display: block;
                        width: 60px;
                        height: 77px;
                        border: 1px solid #ccc;
                    }
                }
                .right-color-right-img_cur {
                    img {
                        border: 2px solid $border-red;
                    }
                }
            }
        }
        .right-size {
            display: flex;
            border-bottom: 1px dotted #ccc;
            padding-bottom: 20px;
            h2 {
                line-height: 36px;
            }
            .right-size-button {
                width: 64px;
                height: 36px;
                display: flex;
                justify-content: center;
                align-items: center;
                margin-right: 10px;
                button {
                    width: 60px;
                    height: 32px;
                    font-size: 12px;
                    color: $fc-base;
                    cursor: pointer;
                    border: 1px solid #ccc;
                    background: transparent;
                    display: block;
                }
            }
            .right-size-button_cur {
                button {
                    border: 2px solid $border-red;
                }
            }
        }
        .right-dz-title {
            margin: 8px 0 5px 0;
            font-size: 12px;
        }
        .right-dz-box {
            display: flex;
            font-size: 12px;
            min-height: 100px;
            .right-dz-item {
                width: 64px;
                height: 80px;
                position: relative;
                margin-right: 8px;
                input[type="radio"] {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    opacity: 0;
                    &:checked {
                        &+img {
                            border: 2px solid $border-red;
                        }
                    }
                }
                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .right-buy {
            padding-top: 20px;
            padding-left: 15px;
            display: flex;
            margin-bottom: 24px;
            .right-buy-numbtn {
                width: 58px;
                height: 43px;
                border: 1px solid #ccc;
                display: flex;
                flex-direction: column;
                flex-wrap: wrap;
                .right-buy-numbtn-num {
                    width: 42px;
                    height: 43px;
                    border-right: 1px solid #ccc;
                    font-size: 14px;
                    color: $fc-base;
                    text-align: center;
                    line-height: 44px;
                }
                .right-buy-numbtn-btn {
                    width: 15px;
                    height: 21px;
                    border: none;
                    border-bottom: 1px solid #ccc;
                    text-align: center;
                    line-height: 21px;
                    cursor: pointer;
                    display: block;
                    background: transparent;
                    &:last-child {
                        border-bottom: none;
                    }
                }
            }
            .right-buy-btn {
                display: block;
                border: 1px solid $border-red;
                margin-left: 20px;
                width: 180px;
                height: 45px;
                cursor: pointer;
                background: #ffeded;
                font-size: 18px;
                color: $fc-red;
            }
            .right-buy-btn_icon {
                width: 78px;
                display: flex;
                justify-content: center;
            }
            .right-buy-btn_cur {
                background: $bg-red;
                color: $fc-white;
            }
        }
        //商家承诺
        .right-promise {
            padding-left: 15px;
            display: flex;
            padding-bottom: 20px;
            border-bottom: 1px dotted #ccc;
            a {
                display: block;
                margin-right: 20px;
                font-size: 12px;
                color: $fc-base;
                line-height: 1;
                &:hover {
                    color: $fc-gray;
                }
            }
        }
        .right-share {
            display: flex;
            padding-top: 20px;
            padding-left: 15px;
            p {
                display: flex;
                margin-right: 30px;
                cursor: pointer;
                i {
                    margin-right: 6px;
                }
            }
        }
    }
}

//参购规则 团购
.goods_details_tuanrule {
    display: flex;
    justify-content: space-between;
    border: 1px solid #dfdfdf;
    padding-left: 30px;
    padding-bottom: 14px;
    box-sizing: border-box;
    position: relative;
    &>p {
        position: absolute;
        font-size: 12px;
        color: #005ea7;
        top: 26px;
        right: 30px;
        cursor: pointer;
    }
    .left {
        h1 {
            display: flex;
            font-size: 18px;
            color: $fc-red;
            line-height: 1;
            font-weight: normal;
            padding-top: 30px;
            padding-bottom: 20px;
            i {
                margin-right: 9px;
            }
        }
        p {
            font-size: 12px;
            color: #222;
            padding-bottom: 16px;
        }
    }
    .right {
        display: flex;
        margin-top: 70px;
        .right-col {
            margin-right: 78px;
            &:last-child {
                margin-right: 40px;
            }
            .right-col-num-border {
                width: 28px;
                height: 28px;
                border: 2px solid #ff4f74;
                border-radius: 50%;
                margin-left: auto;
                margin-right: auto;
                margin-bottom: 10px;
                position: relative;
                .bar {
                    position: absolute;
                    width: 78px;
                    height: 3px;
                    background: #ff4f74;
                    top: 12px;
                    right: -88px;
                }
            }
            .right-col-num {
                width: 24px;
                height: 24px;
                border: 2px solid #fff;
                border-radius: 50%;
                background: #ff4f74;
                font-size: 18px;
                color: $fc-white;
                text-align: center;
                line-height: 24px;
            }
        }
        p {
            font-size: 12px;
            color: $fc-title-gray;
        }
    }
}

//参团成员 团购
.goods_details_tuanmember {
    position: relative;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    padding-top: 20px;
    &>p {
        position: absolute;
        font-size: 12px;
        color: #005ea7;
        top: 26px;
        right: 30px;
        cursor: pointer;
    }
    h1 {
        font-size: 18px;
        color: $fc-base;
        text-indent: 30px;
        line-height: 1;
        font-weight: normal;
        padding-bottom: 30px;
    }
    .member {
        display: flex;
        margin-left: 40px;
        padding-bottom: 20px;
        .member-col {
            width: 60px;
            height: 60px;
            box-sizing: border-box;
            border: 2px solid #ff7e00;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 20px;
            margin-bottom: 10px;
            position: relative;
            img {
                display: block;
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }
            p {
                position: absolute;
                font-size: 12px;
                line-height: 18px;
                height: 18px;
                border-radius: 9px;
                width: 42px;
                background: #ff7e00;
                text-align: center;
                color: $fc-white;
                border: 2px solid $border-white;
                top: -4px;
                left: -18px;
            }
        }
        .member-col_no {
            border: none;
        }
    }
}

//点击切换显示内容的标题
.goods_details_title {
    display: flex;
    border: 1px solid #dfdfdf;
    border-bottom: 4px solid #dfdfdf;
    p {
        line-height: 48px;
        padding: 0 42px;
        font-size: 14px;
        border-right: 1px solid #dfdfdf;
        cursor: pointer;
    }
    .cur {
        margin-bottom: -4px;
        border-bottom: 4px solid $border-red;
        color: $fc-red;
    }
}

//商品详情
.goods_details_con {
    padding-top: 30px;
    .goods_details_con-title {
        display: flex;
        align-items: flex-end;
        padding-bottom: 14px;
        background-image: url(../img/goods_details_con_title_bb.png);
        background-repeat: repeat-x;
        background-position: left bottom;
        i {
            margin-right: 10px;
        }
        p {
            margin-right: 6px;
            font-size: 18px;
            color: $fc-red;
        }
        span {
            font-size: 14px;
            color: $fc-gray;
            line-height: 1;
        }
    }
    //商品参数
    .goods_details_con-param {
        border: 1px solid #dfdfdf;
        // border-right: none;
        display: flex;
        flex-wrap: wrap;
        // margin-bottom: -1px;
        .goods_details_con-param-con {
            display: flex;
            &>h1 {
                font-weight: normal;
                line-height: 40px;
                font-size: 12px;
                color: $fc-title-gray;
                width: 98px;
                border-right: 1px solid #dfdfdf;
                background: #f5f5f5;
                text-indent: 26px;
            }
            &>p {
                line-height: 40px;
                width: 499px;
                font-size: 12px;
                text-indent: 16px;
                color: $fc-gray;
                border-right: 1px solid #dfdfdf;
                border-bottom: 1px solid #dfdfdf;
            }
            &:nth-child(even) {
                &>p {
                    border-right: none;
                }
            }
            &:nth-last-child(2),
            &:nth-last-child(1) {
                p {
                    border-bottom: none;
                    // background: red;
                }
            }
        }
    }
    //商品展示 图片
    .goods_details_con-showimg {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        img {
            display: block;
            width: 590px;
            height: 750px;
            margin-bottom: 15px;
        }
    }
    //商品尺码
    .goods_details_con-size {
        padding-top: 18px;
        &>h1 {
            font-size: 14px;
            color: $fc-base;
            line-height: 1;
            padding-bottom: 20px;
        }
        &>p {
            font-size: 12px;
            color: $fc-base;
            line-height: 30px;
            margin-top: -9px;
        }
        &>table {
            width: 100%;
            border-top: 1px solid #cccacc;
            border-left: 1px solid #cccacc;
            border-bottom: 1px solid #cccacc;
            th {
                font-size: 14px;
                color: $fc-base;
                line-height: 35px;
                background: #f5f5f5;
                border-right: 1px solid #cccacc;
                border-bottom: 1px solid #cccacc;
            }
            tbody td {
                text-align: center;
                line-height: 35px;
                font-size: 12px;
                color: $fc-base;
                border-right: 1px solid #cccacc;
                border-bottom: 1px solid #cccacc;
            }
            tfoot td {
                text-indent: 20px;
                line-height: 35px;
                border-right: 1px solid #cccacc;
                font-size: 12px;
                color: $fc-base;
                span {
                    color: $fc-red;
                }
            }
        }
    }
}

//累计评论
.goods_details_comment {
    .goods_details_comment-title {
        display: flex;
        padding: 20px 0;
        border: 1px solid #dfdfdf;
        border-top: none;
        .left {
            width: 166px;
            &>h1 {
                font-size: 14px;
                color: $fc-gray;
                text-align: center;
                line-height: 1;
                padding-top: 14px;
                padding-bottom: 20px;
            }
            &>h2 {
                font-size: 50px;
                color: $fc-red;
                text-align: center;
                line-height: 1;
                padding-bottom: 24px;
                span {
                    font-size: 24px;
                }
            }
            &>h3 {
                font-size: 14px;
                color: $fc-title-gray;
                text-align: center;
                line-height: 1;
                padding-bottom: 15px;
            }
        }
        .right {
            width: 760px;
            padding-left: 24px;
            padding-top: 14px;
            height: 151px;
            box-sizing: border-box;
            border-left: 1px solid #dfdfdf;
            margin-left: 28px;
            position: relative;
            display: flex;
            flex-wrap: wrap;
            align-content: flex-start;
            &>h1 {
                position: absolute;
                top: 40px;
                left: -28px;
                font-weight: normal;
                font-size: 14px;
                color: #ccc;
                width: 14px;
            }
            .right-arr {
                width: 0;
                height: 0;
                border-top: 6px solid transparent;
                border-right: 6px solid #e5e5e5;
                border-bottom: 6px solid transparent;
                position: absolute;
                left: -6px;
                top: 72px;
            }
            .right-tag {
                padding: 0 14px;
                line-height: 26px;
                height: 26px;
                color: $fc-title-gray;
                font-size: 14px;
                border: 1px solid #e5e5e5;
                margin-right: 10px;
                margin-bottom: 15px;
            }
        }
    }
    .goods_details_comment-con {
        .top {
            height: 40px;
            background: #f9f9f9;
            padding-left: 20px;
            display: flex;
            align-items: center;
            .top-col {
                display: flex;
                cursor: pointer;
                margin-right: 25px;
                .top-col-icon {
                    width: 12px;
                    height: 12px;
                    border-radius: 50%;
                    background: #dedede;
                    margin-right: 5px;
                    border: 1px solid #acacac;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    .top-col-icon-cir {
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        background: #666666;
                        display: none;
                    }
                }
                p {
                    font-size: 14px;
                    color: $fc-title-gray;
                }
            }
            .top-col_cur {
                .top-col-icon {
                    .top-col-icon-cir {
                        display: block;
                    }
                }
            }
        }
        .con {
            display: flex;
            padding-top: 20px;
            border-bottom: 1px dotted #ccc;
            .con-head {
                padding-left: 20px;
                margin-right: 80px;
                img {
                    display: block;
                    width: 60px;
                    height: 60px;
                    border-radius: 50%;
                    margin-bottom: 15px;
                }
                p {
                    font-size: 14px;
                    color: $fc-gray;
                    text-align: center;
                }
            }
            .con-right {
                width: 1042px;
                .con-right-code {
                    display: flex;
                    margin-bottom: 20px;
                    i {
                        margin-right: 2px;
                    }
                }
                .con-right-con {
                    margin-bottom: 16px;
                    p {
                        font-size: 14px;
                        color: $fc-title-gray;
                        line-height: 22px;
                        margin-top: -4px;
                        max-width: 770px;
                    }
                }
                .con-right-img {
                    margin-bottom: 20px;
                    display: flex;
                    .con-right-img-box {
                        margin-right: 10px;
                        width: 50px;
                        height: 50px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border: 1px solid #e5e5e5;
                        img {
                            display: block;
                            width: 48px;
                            height: 48px;
                        }
                    }
                }
                .con-right-goods {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding-bottom: 20px;
                    p {
                        span {
                            font-size: 14px;
                            color: $fc-gray;
                            margin-right: 20px;
                            line-height: 16px;
                        }
                    }
                    h1 {
                        font-weight: normal;
                        display: flex;
                        font-size: 14px;
                        color: $fc-gray;
                        align-self: flex-end;
                        line-height: 16px;
                        i {
                            margin-right: 6px;
                            cursor: pointer;
                        }
                    }
                }
                .con-right-zhui {
                    padding-top: 20px;
                    padding-bottom: 16px;
                    border-top: 1px dotted #ccc;
                    h1 {
                        font-size: 14px;
                        color: $fc-gray;
                        line-height: 1;
                        padding-bottom: 15px;
                        font-weight: normal;
                    }
                    p {
                        font-size: 14px;
                        color: $fc-title-gray;
                        line-height: 22px;
                        margin-top: -4px;
                        max-width: 770px;
                    }
                }
                .con-right-reply {
                    padding-top: 30px;
                    padding-bottom: 20px;
                    border-top: 1px dotted #ccc;
                    p {
                        font-size: 14px;
                        color: $fc-red;
                        line-height: 22px;
                        margin-top: -4px;
                        max-width: 770px;
                        margin-bottom: 10px;
                    }
                    h1 {
                        font-weight: normal;
                        font-size: 14px;
                        color: $fc-gray;
                        line-height: 1;
                    }
                }
            }
        }
    }
}

//加入购物车
.goods_addcart {
    padding-top: 30px;
    padding-bottom: 140px;
    &>h1 {
        display: flex;
        line-height: 24px;
        font-size: 18px;
        color: #6bad46;
        i {
            margin-right: 12px;
        }
    }
    .goods_addcart-col {
        padding-top: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #dddddd;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        .left {
            display: flex;
            .left-img {
                width: 80px;
                height: 80px;
                margin-right: 20px;
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }
            .left-text {
                padding-top: 12px;
                h1 {
                    font-size: 14px;
                    color: $fc-base;
                    line-height: 1;
                    padding-bottom: 18px;
                }
                p {
                    font-size: 12px;
                    color: $fc-gray;
                }
            }
        }
        .right {
            display: flex;
            .right-btn {
                display: block;
                width: 182px;
                height: 46px;
                border: 1px solid $border-red;
                margin-left: 10px;
                font-size: 16px;
                color: $fc-red;
                background: #ffeded;
                cursor: pointer;
            }
            .right-btn_cur {
                background: $bg-red;
                color: $fc-white;
            }
        }
    }
}